# -*- coding: utf-8 -*-
# @Python：3.8
# @项目：happiness_order
# @文件：user.py
# @时间：2025/1/20 10:56
# @作者：yangzhang
# @desc:
from application import db


class User(db.Model):
    __tablename__ = 'user'

    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String(50), nullable=False)
    passwd = db.Column(db.String(50), nullable=False)
    created_time = db.Column(db.DateTime)
    updated_time = db.Column(db.DateTime)
